package org.one.text;

import java.util.Arrays;

public class second {
    public static void main(String[] args) {
        int [] a =  new int[]{5,51,2,1};
        Arrays.sort(a);
        for (int aa:
             a) {
            System.out.println(aa);
        }

    }
}
